<?php
class DefaultController extends Controller {
	private $controllerCalled;
	
	public function __construct() {
		echo 'defaut';
		$userController = Loader::loadController('user');
		$userController->view();
	}
	
	public function view() {
		$view = Loader::loadView('View', array('title'=>'Mon titre'));
		$view->render();
	}
	
	public function defaut() {
		$this->view();
	}
}